using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace Silverlight.EntityFramework
{
    public sealed class CollectionEntity<EntityType> : ObservableCollection<EntityType>, ICollection<EntityType>, IEntityNotifyPropertyChanged
        where EntityType : Entity<EntityType>
    {
        #region IEntityNotifyPropertyChanged Members

        public void NotifyPropertyChanged(string propertyName)
        {
            base.OnPropertyChanged(new PropertyChangedEventArgs(propertyName));
        }

        #endregion
    }
}